import 'package:build/build.dart';
import 'package:source_gen/source_gen.dart';

import 'generator.dart';

///***********************************************
///文件描述：
///创建人：dgg108698
///创建时间：2020/9/9
///修改人：
///修改时间：
///修改备注：
///***********************************************

Builder routerBuilder(BuilderOptions options) =>
    LibraryBuilder(RouteRootGenerator(), generatedExtension: '.router.dart');

Builder routerWriteBuilder(BuilderOptions options) =>
    LibraryBuilder(RouterGenerator(), generatedExtension: '.router.write.dart');
